package cn.itsource.cw.mapper;

import cn.itsource.cw.IBaseMapper;
import cn.itsource.cw.entity.TbDept;
import org.apache.ibatis.annotations.Select;

public interface DeptMapper extends IBaseMapper<TbDept> {

    @Select("select * from tb_dept where name = #{deptName}")
    TbDept findDeptByName(String deptName);
}
